<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
        <title><?php echo (L("_web_title_")); ?></title>
        <meta content="Admin Dashboard" name="description" />
        <meta content="Themesdesign" name="author" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />       
        <!-- App Icons -->     
        <link rel="shortcut icon" type="image/x-icon" href="/xnqb/Public/Home/images/favicon.ico">
        <!--Morris Chart CSS -->
        <link rel="stylesheet" href="/xnqb/Public/Home/css/morris.css">

        <!-- App css -->
        <link href="/xnqb/Public/Home/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <!--  -->
        <link href="/xnqb/Public/Home/css/icons.css" rel="stylesheet" type="text/css" />
        <link href="/xnqb/Public/Home/css/style.css" rel="stylesheet" type="text/css" />
        <link href="/xnqb/Public/Home/flag-css/css/flag-icon.min.css" rel="stylesheet" type="text/css" />
        <style type="text/css">
        	/**/
            #topnav .navbar-custom {
               /* linear-gradient(to right, #043E73,#287BC7);
                box-shadow: 0 1px 1px rgba(0,0,0,.1); */
                padding-left: 0;
            }
            #topnav .navbar-custom {
			    background-color: auto; 
			    box-shadow: 0 1px 1px rgba(0,0,0,.1); 
			     padding-left: 0; 
            }
            .header-item span{
            	font-weight: bold;
            }
            .header-item h5 {
                /* color: hsl(51, 100%, 57%); */
                font-size: 12px;
                font-weight: normal;
            }
            .my-container{
            	width:70%;
            }
            
            .notice{
					width:100%;
				}
			
			/*平板 大于576隐藏  小于991显示*/ 
			@media (min-width: 576px){
				.logo-large{
					display: none;
				}

			}
			@media (min-width: 991px){
				.logo-large{
					display: block;
				}
			}
			
			
			
			@media (min-width: 1024px) {
				#topnav .navigation-menu>li>a {
					padding-left: 8px;
    				padding-right: 8px;
    				
				}
				#topnav .navigation-menu>li>a{
					font-size: 14px;
				}
			}
			
			@media (min-width: 1366px) {
				#topnav .navigation-menu>li>a {
					padding-left: 15px;
    				padding-right: 15px;
    				
				}
				#topnav .navigation-menu>li>a{
					font-size: 16px;
				}
			} 
			
			
            @media (max-width:991px) {
            	
				.my-container {
					width:100%;
				}
			}
			@media (min-width: 992px){
				#topnav .navigation-menu>li>a{
            		line-height: auto;
            	}
			}
			
			.wrapper{
				padding-top: 60px;
			}
			
			
			@media (min-width: 992px) {
				
				.notice{
					width:72%;
				}
				.integral{
					width: 80%; margin: 0 auto;
				}
				/* #topnav .navigation-menu>li>a:hover{
					color: red !important;
				} */
			
			
				/* #topnav .navigation-menu>li .submenu.megamenu>li  {
					width: auto;
				}
				#topnav .navigation-menu>li .submenu{
					min-width: 136px;
				} */
			}
			#topnav .navigation-menu>li>a i{
				margin-right: 2px;
			}
			/* @media (max-width: 1024px) {
				#topnav .navigation-menu>li>a{
					color: rgb(255, 255, 255);
				}
			} */
			
			
			/*积分面板*/
			.integral_row{
				width:70%;margin:0 auto;
			}
			.integral_list_col{
				padding: 10px 20px 10px 20px; 
				margin:0 auto; 
			}
			.integral_list_one{
				text-align: center; 
				margin: 10px 20px 10px 20px;
			} 
			
			.wrapper{
					padding-top: 105px;
			}
			.banner_div{
				width: 70%; margin: 0 auto;
			}	
			@media (max-width: 768px) {
				.wrapper{
					padding-top: 60px;
				}
			}
			/*手机端 小于1024的时候*/
			@media (max-width: 1024px) {
				
				.banner_div{
					width: 80%; 
				}	
			
				.integral_row {
					width:80%;
					margin:0 auto;
				}
				.integral_list_col{
					padding: 10px; 
					margin:0 auto; 
				}

			}
			
			.landing-article-title {
			    padding: 0px 8px;
			    margin: 10px 0px;
			    border-left: 3px solid hsl(205, 89%, 52%);
			    font-size: 16px;
			}
			
			
			.new_row .landing-article-box {
			   /*  background-color: hsl(210, 17%, 98%); */
			    /* padding: 20px 45px;  */
			    line-height: 2.5;
			    color: hsl(0, 0%, 85%);
			    border-radius: 4px;
			    min-height: 196px;
			    /* background:#F8F9FB;  */
			}
			.new_row  ul, .new_row  ul li{
				margin:0px;
				padding:0px;
			}
			.new_row  ul{
				list-style-type: none;
			}
			.new_row  ul li{
				text-indent: 1em;
			}
			.new_row .gray_color{
				background: #F8F9FA;
			}
			.new_row  ul, ol {
			    margin-top: 0;
			    margin-bottom: 10px;
			}
			.landing-article-box a {
				color: hsl(0, 0%, 29%);
				font-size: 14px;
				cursor: pointer;
			}
			.landing-article-box a:hover {
				text-decoration: underline;
			}
			
			/*新手入门*/
			.new_row{
				width: 70%;
				margin: 0 auto; margin-top: 20px;
			}
			@media (max-width: 1024px) {
				.new_row{
					width: 85%;
				
				}
			}
			
			.site_row{
				width: 70%; margin: 0 auto;
				
			}
			@media (max-width: 1024px) {
				.site_row{
					width: 85%;
				
				}
			}
			
			.site-info .site-item {
			   /*  width: 250px;  */
			   	padding: 50px;
			    text-align: center;
			    /* display: inline-block; */
			}
			
			.site-info .item-icon-1, 
			.site-info .item-icon-2, 
			.site-info .item-icon-3 {
			    width: 40px;
			    height: 40px;
			    display: block;
			    margin: 0 auto;
			    background-image: url(/xnqb/Public/Home/images/sp_index_d51208166d.png);
			}
			.site-info .item-icon-1 {
			    background-position: -252px -60px;
			}
			.site-info .item-icon-2 {
			    background-position: -212px -100px;
			}
			.site-info .item-icon-3 {
			    background-position: -212px -60px;
			}
			
			.site-info .site-item .h3 {
			    font-size: 20px;
			    margin: 15px 0;
			    color: hsl(0, 0%, 0%);
			    font-weight: 700;
			}
			
			.site-info .site-item .desc {
			    font-size: 14px;
			    line-height: 1.64;
			}
			
			.color_blue {
				color: hsl(205, 89%, 52%);
			}
			
			@media (min-width: 992px){
				#topnav .navigation-menu>li>a {
				    padding-top: 10px;
				    padding-bottom: 10px;
				}
								
			}



        </style>
        
    </head>


    <body>

        <!-- Begin page -->
        <div class="accountbg"></div>
        <div class="wrapper-page">

            <div class="card">
                <div class="card-body">

                    <h3 class="text-center mt-0 m-b-15">
                        <a href="index.html" class="logo logo-admin"><img src="/xnqb/Public/Home/images/logo7.png" height="100" alt="logo"></a>
                    </h3>

                    <h4 class="text-muted text-center font-18"><b><?php echo (L("_login_")); ?></b></h4>

                    <div class="p-3">
                        <form id="login_form" class="form-horizontal m-t-20" method="post" action="" >

                            <div class="form-group row">
                                <div class="col-12">
                                    <input class="form-control" id="username" name="username" type="text" required="" data-parsley-minlength="6" 
                                    data-parsley-minlength-message="<?php echo (L("_reg_username_minlength_")); ?>" data-parsley-maxlength="20" 
                                    data-parsley-maxlength-message="<?php echo (L("_reg_username_maxlength_")); ?>" 
                                    data-parsley-required-message="<?php echo (L("_reg_username_")); ?> <?php echo (L("_required_")); ?>" 
                                    placeholder="<?php echo (L("_reg_input_placeholder_")); echo (L("_reg_username_")); ?>">
                                </div>
                            </div>

                            <div class="form-group row">
                                <div class="col-12">
                                    <input class="form-control" id="password" name="password" type="password" required="" data-parsley-minlength="6" data-parsley-minlength-message="<?php echo (L("_reg_password_minlength_")); ?>" data-parsley-maxlength="20" data-parsley-maxlength-message="<?php echo (L("_reg_password_maxlength_")); ?>" data-parsley-required-message="<?php echo (L("_reg_password_")); ?> <?php echo (L("_required_")); ?>" placeholder="<?php echo (L("_reg_input_placeholder_")); echo (L("_reg_password_")); ?>">
                                </div>
                            </div>
                            
                            
                            <div class="form-group row" style="margin-bottom: 0;">
                                <div class="col-6">
                                    <input class="form-control" id="verif_code" placeholder="<?php echo (L("_reg_input_placeholder_")); ?> <?php echo (L("_reg_verification_code_")); ?>" name="verif_code" type="text" required="" 
                                                    data-parsley-minlength="4" 
                                                    data-parsley-minlength-message="<?php echo (L("_reg_verification_code_minlength_")); ?>" 
                                                    data-parsley-maxlength="4"
                                                    data-parsley-maxlength-message="<?php echo (L("_reg_verification_code_maxlength_")); ?>" 
                                                    data-parsley-required-message="<?php echo (L("_reg_verification_code_")); echo (L("_required_")); ?>" >
                                </div>
                                <div class="col-6">
                                    <img id="reload_verif_code_img" src="<?php echo U('Login/get_verif_code');?>" style="display: inline-block; width: 100%; height: 80%; cursor: pointer;"/>
                                </div>
                            </div>
                              
                           <div class="form-group row">                                       
                              
                                  <div class="col-sm-7">
                                     <div class="custom-control custom-checkbox">
                                    <input type="checkbox" required="" data-parsley-required-message="<?php echo (L("_reg_required_")); ?>"  class="custom-control-input" id="customCheck1">
                                    <label class="custom-control-label"  for="customCheck1"></label>
                                    <span style="font-weight: 600;font-size:11px;"><?php echo (L("_agree_with_all_")); ?> <a href="javascript:void(0);" style="color:#000;" id="customCheck"><?php echo (L("_clause_term_")); ?></a></span>
                                    
                                    
                                    </div>   
                                  </div>
                                  
                                  <div class="col-sm-5">
                                    <span style="font-weight: 600;font-size:11px;padding-top:4px;padding-left:27px;"><a style="color:#000;" href="<?php echo U('Login/forgot_password');?>"><?php echo (L("_forgot_password_")); ?></a></span>
                                  </div>
                               
                                                                            
                                                        
                            </div>

                            <div class="form-group text-center row m-t-20">
                                <div class="col-12">
                                    <button class="btn btn-info btn-block waves-effect waves-light submit_btn" type="submit"><?php echo (L("_login_")); ?></button>
                                </div>
                            </div>

                            <div class="form-group m-t-10 mb-0 row">
                                

                                <div class="col-sm-6 m-t-20">
                                    <div class="radio">
                                      <label>
                                        <input type="radio" name="l" id="optionsRadios1" value="en-us">
                                        <?php echo (L("_english_")); ?>
                                      </label>
                                    </div>
                                </div>
                                
                                <div class="col-sm-6 m-t-20">
                                    <div class="radio">
                                      <label>
                                        <input type="radio" name="l" id="optionsRadios2" value="zh-cn">
                                        <?php echo (L("_chinese_")); ?>
                                      </label>
                                    </div>
                                </div>


                            </div>
                        </form>
                    </div>

                </div>
            </div>
        </div> 
        
        <div id="matcher_button_modal" class="modal fade bs-example-modal-center" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
            <div class="modal-dialog modal-dialog-centered" style="max-width:800px;">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title mt-0">条款 & 条件</h5>
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    </div>
                    <div class="modal-body">
                       <p> TERM OF USE </p>
                       <p> 1.Acknowledgement and Acceptance of Terms <br>承认和接受条款 <br>
                            These Terms of Use apply to the RAC web site located at http://www.racgroup.net/, and the Site is the property of http://www.racgroup.net/ (“RAC”). The site is owned and operated by RAC Headquarters. The use of this website is governed by the Terms set out herein, Website Disclaimer and the Privacy Policy. These Terms may be amended or edited from time to time without prior notice. YOU ARE ADVISED TO READ THESE TERMS CAREFULLY. BY ACCESSING THIS WEBSITE AND ANY PAGES THEREOF, YOU IRREVOCABLY AND UNCONDITIONALLY AGREE TO BE BOUND BY THE TERMS BELOW. IF YOU DO NOT AGREE, PLEASE DO NOT ACCESS THIS WEBSITE OR ANY PAGES THEREOF. Your continued usage of this website constitutes your agreement to all the Terms set out herein and any subsequent amendments that may be made by RAC from time to time.<br>
                                                        这些使用条款适用于设在http://www.racgroup.net/的RAC网站，该网站属于http://www.racgroup.net/(“RAC”)，由RAC总部拥有和运营。 本网站的使用受本网站条款、网站免责声明和隐私政策的制约，本条款可随时修改或编辑，无须事先通知，我建议你 仔细阅读。通过访问本网站及其任何网页，视同您无条件地同意受以下条款的约束。如果您不同意，请不要访问该网站。您对本网站的持续使用，表示您同意本网站所列所有条款，以及RAC可能不时做出的任何修改。</p>
                      
                       <p>2.International Use</br>国际使用</br>
                            This website is controlled and offered by RAC Headquarters. No representation is made that this website is appropriate and/or available for use in other locations. If you access this website from other jurisdictions you do so at your own volition and agree to comply with the applicable local, national and international laws and regulations pertaining to online conduct, internet content and in particular transmission of technical data exported from the country of your residence.
                       </br>该网站由RAC总部控制和提供，本网站并没有限制访问地点。如果您访问此网站，表示您是自愿的并同意遵守您的在线行为、互联网内容和部分内容都符合国家和国际法律和条例。</p>
                      
                       <p>3.Intended Use <br>预期用途<br>
                            This website is for the dual purpose of marketing and commercial use; therefore it is not intended for persons under 18 years of age. If you are under 18 (or of contratual age in your state of legal residence) you should obtain permission from your parents, guardian or a responsible adult to use this website.
                       </br>该网站是用于营销和商业用途的双重目的，因此不适合18岁以下的人。如果你未满18岁(或处于法定年龄以下) 你必须获得父母、监护人或一名负责任的成年人的许可才能使用本网站。

                       <p> 4.Intellectual Property Rights <br> 知识产权<br>
                           Unless otherwise stated, RAC shall at all times own the contents of this website, including without limitation, website’s design, text, graphics, software, photos, sounds, music, videos and interactive features and shall therefore be able to avail to the extent allowed by applicable law, copyright, trademark, patent, trade secret and other intellectual property laws and regulations for the protection of its rights.
                       </br>除非另有说明，RAC应随时拥有本网站的内容，包括但不限于网站的设计、文本、图形、软件、照片、声音、音乐、视频等。 因此应能在适用法律、版权、商标、专利、商业秘密和其他知识产权法律法规允许的范围内加以保护。
                       </br>Except as stated herein, none of the content may be copied, downloaded, displayed, posted, transmitted, used or reproduced in whole or part, in any form or by any means for any purposes, unless such prior consent for use is expressly granted by RAC. 
                       </br>除本文所述外，任何内容均不得以任何形式或以任何方式复制、下载、展示、张贴、传输、使用或复制，除非得到RAC的书面同意。

                       <p> 5.Trademarks <br> 注册<br>
                           All trade names, domain names, brand names, logos, slogans, trade symbols, trademarks or services marks consisting of the name RAC are the absolute properties of RAC. There are other trade names, brand names, logos, slogans, brand names, company names, logos, slogan, trademarks or service marks indicated on this website that are the property of RAC and /or their respective owners.
                         </br>所有由RAC名称组成的商品名称、域名、品牌名称、徽标、口号、商标或服务标志都是RAC的绝对拥有。还有其他的商品名称，本网站上标明的属于RAC和/或其各自所有者的名称、徽标、标语、商标。
                         </br>In addition, the look and feel of the website, including all page headers, custom graphics, button icons and scripts are RAC service mark, trademark and/or trade dress and shall not be copied, imitated or used, in whole or in part, without the prior written permission from RAC.
                         </br>此外，网站的外观和美工设计，包括所有页面标题、自定义图形、按钮图标和脚本都是RAC服务标识、商标或商业服务，不得复制、模仿。 未经RAC事先书面许可不得使用。
                    
                      <p> 6.Links <br> 连接 <br>
                          This website may contain numerous links to other Internet sites including, without limitation, other sites that may provide advice or other goods and services, which are operated by third party vendors. By utilizing these links, you acknowledged and agreed that RAC does not endorse and shall not be responsible for the contents, opinions expressed, services provided, goods sold or other links provided by these third party sites. You further acknowledged and agreed that RAC shall not be held liable for any damages, losses or injury howsoever caused whether directly or indirectly for the use of or reliance on any linked sites. Should you have any questions regarding these sites, you should address them directly with the relevant site administrator.
                        </br>该网站可能包含许多与其他互联网站点的链接，包括但不限于其他可提供建议或其他商品和服务的网站，这些网站由第三方操作。 您通过使用这些链接，表示您承认并同意RAC不对其内容、所表达的意见、所提供的服务、销售的货物或其他负责。 如果您访问了第三方网站，无论是直接或间接使用，RAC均不承担任何责任。如果你对这些网站有任何疑问，你应该直接与相关的网站管理员联系。
                        </br>You are permitted to link to the materials on these third party websites, but it is strictly for personal and non-commercial purposes. You may quote contents written on the website into your own websites provided you include a prominent link back to this website on the pages containing the quote.
                        </br>您可以访问这类网站的内容，仅限个人使用，非商业目的。你可以把写在网站上的内容引用到你自己的网站上。

                       <p> 7.Dispute Resolution <br>争论的解决<br>
                           Any dispute, claim or controversy arising out of or in connection with these Terms or website, which cannot be resolved amicably in good faith through negotiation shall be referred to and settled by mediation. Only if parties fail to compromise within 30 days from the date of written notice of the dispute, then any such dispute, claim or controversy shall be finally decided by the associated lawyer of RAC.
                           </br>因本条款或网站而引起或与其有关的任何争议、索赔或争议，应当通过友好协商的方式解决，如果书面通知之日起30日内无法通过友好协商解决，任何此类争议、索赔均应由RAC主体成立所在国家法院提起诉讼。

                       <p> 8.No Unlawful or Prohibited Use <br> 无非法或禁止使用<br>
                           Your continual usage of this website is conditional upon your compliance with all applicable laws, statutes, ordinance and regulations regarding your use of our service and any related activities. In addition, you warrant that you shall not use this website for any purposes that is unlawful or prohibited in law or by these terms, conditions and notices. You agree:
                       </br>您对本网站的持续使用取决于您遵守所有适用的法律，法规，关于您使用我们的服务和相关活动的条例和法规。此外，您保证您不得将本网站用于非法或合法或条款，条件和通知禁止的目的。你同意：
                       </br>8i.Not to upload, post, email or otherwise transmit any content that is unlawful, threatening, harmful, abusive, harassing, tortious, vulgar, defamatory, obscene, libellous, invasive of others’ privacy, hateful or racially, ethnically or otherwise objectionable.
                       </br>不得上传、张贴、电子邮件或以其他方式传播任何非法、威胁、有害、虐待、骚扰、侵权、粗俗、诽谤、淫秽、诽谤、侵扰他人隐私的内容。
                       </br>8ii.Not to upload, post, email or otherwise transmit any material that contains software viruses or any other computer code, file or programs designed to interrupt, destroy or limit the functionality of any computer software or hardware or telecommunications equipment.
                       </br>不上传、张贴、电子邮件或以其他方式传输任何含有软件病毒或任何其他计算机代码、文件或程序以中断、破坏或限制功能的材料 任何计算机软件、硬件或电信设备。
                       </br>8iii.Not to interfere with or disrupt the service or services or networks connected to the service, or disobeys any requirements, procedures, policies or regulations of the networks connected to the service.
                       </br>不干涉、不干扰连接服务或者网络，也不违反网络的任何要求、程序、政策或者规章。
                       </br>8iv.Not to incorporate materials from a third party web site, or addresses, email addresses, contact information, or phone numbers (other than your own).
                       </br>不包括来自第三方网站的材料，或者地址，电子邮件地址，联系信息，或者电话号码(除了你自己的)。
                       </br>8v.Not to upload content that contains any information that you consider confidential, proprietary, or personal.
                       </br>不上传包含任何机密、专有或个人信息的内容。
                       </br>8vi.Not to upload content that contains or constitutes any unsolicited or unauthorized advertising, promotional materials, spam, junk mail, pyramid schemes, or any other form of solicitation.
                       </br>不得上载含有或构成任何未经请求或未经授权的广告、宣传材料、垃圾邮件、金字塔计划或任何其他形式的招标的内容。

                      <p>9. Submissions <br> 提交 <br>
                         Any material, information or ideas you transmit or post on this website by any means will be treated as non-confidential and non-proprietary, and may be disseminated or used by RAC or its related and affiliated companies for any purposes whatsoever, including, but not limited to, reproduction, transmission, publication, broadcast, posting, developing, manufacturing and marketing products. Notwithstanding the foregoing, all personal data provided to RAC will be handled in accordance with RAC’s Privacy Policy. RAC has no responsibility to respond to messages posted at this website.
                      <br>您以任何方式在本网站上传递或发布的任何材料、信息或想法将被视为非机密和非专有的，并可由RAC或其相关人员传播或使用。 任何目的附属公司，包括但不限于复制、传输、出版、广播、张贴、开发、制造和销售产品。根据上述内容，向RAC提供的所有个人数据都将按照RAC的隐私政策进行处理。RAC没有责任响应在此网站上发布的消息。

                      <p>10. Security <br>
                          RAC understands that Internet security is of paramount importance to you and that all reasonable precautions to protect your transactions carried out via this website have been taken care of, so that you can have as a safe and secure experience in accessing the website.
                      <br>RAC知道互联网安全对你来说至关重要，所有合理的防范措施都要保护你通过这个网站进行的交易，所以 您可以有一个安全可靠的经验访问网站。
                                                            
                    </div>
                    
                    <div class="modal-footer">
                        <button type="button" class="btn btn-secondary waves-effect" data-dismiss="modal">关闭</button>                      
                    </div>     
                </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
        </div><!-- /.modal -->
           
        <!-- jQuery  -->
        <script src="/xnqb/Public/Home/js/jquery.min.js"></script>
        <script src="/xnqb/Public/Home/js/popper.min.js"></script>
        <script src="/xnqb/Public/Home/js/bootstrap.min.js"></script>
        <script src="/xnqb/Public/Home/js/modernizr.min.js"></script>
        <script src="/xnqb/Public/Home/js/waves.js"></script>
        <script src="/xnqb/Public/Home/js/jquery.slimscroll.js"></script>
        <script src="/xnqb/Public/Home/js/jquery.nicescroll.js"></script>
        <script src="/xnqb/Public/Home/js/jquery.scrollTo.min.js"></script>
        
        <script src="/xnqb/Public/Home/layer/layer.js"></script>
        <!-- App js -->
        <script src="/xnqb/Public/Home/js/app.js"></script>
        <script type="text/javascript" src="/xnqb/Public/Home/js/parsleyjs/parsley.min.js"></script>
      <script type="text/javascript">
        $(function(){
        	// 刷新验证码
        	
        	var reload_verif_code_img_src = $('#reload_verif_code_img').attr('src');
        	var reload_verif_code = function () {
        		$('#reload_verif_code_img').attr('src', reload_verif_code_img_src + '?rand=' + parseInt(Math.random() * 10000000));
        	};
        	$('#reload_verif_code_img').click(function () {
        		reload_verif_code();
        	});
        	
            if('<?php echo ($lang); ?>' == 'en-us'){
                $('#optionsRadios1').attr("checked", "checked");
            } else {
                $('#optionsRadios2').attr("checked", "checked"); 
            }
            
            
            $(":radio").click(function(){               
                window.location.replace('<?php echo U('Login/index');?>'+'?l='+ $(this).val());
            });

            $('#login_form').parsley().on('form:submit', function() {
            	var username = $("#username").val();
                var password = $("#password").val();
                var verif_code = $('#verif_code').val();
               	$.ajax({
               	    type: "POST",
               	    url: "<?php echo U('Login/login');?>",
               	    data: {
               	    	username : username,
               	    	password : password,
               	    	verif_code : verif_code
               	    },// 要提交的表单
               	    dataType: 'json',
               	    beforeSend: function(){
       					layer_index = layer.load(1, {
       					  	shade: [0.1, '#ccc'] //0.1透明度的白色背景
       					});
       				},
               	    success: function (data, response) {
               	    	layer.close(layer_index);
               	    	if (data.flag > 0) {
               	    		window.location="<?php echo U('Index/index');?>";
               	    	} 
               	    	$('#verif_code').val('');// 清空验证码
               	    	reload_verif_code(); 
               	    	layer.msg(data.msg);
               	    },
               	    error: function (error) {
               	    	layer.close(layer_index);
               	    	alert('error');
               	    }
               	  });
            	  
            	 return false;
            });

            
            $("#customCheck").click(function(){
            	$('#matcher_button_modal').modal('show');
            });
            /* $(".submit_btn").click(function(){
                 
                 
                  username=$("#username").val();
                  password=$("#password").val();
                    $.ajax({
                    url:"<?php echo U('index/login');?>",
                    data:{ 
                      'username' : username,
                      'password' : password,
                    },
                    
                    type:"post",
                    success: function(data) {
                      if(data==0){
                        window.location="<?php echo U('index/index');?>";
                      }
                        if(data==1){
                         alert('用户名错误');
                         //$('#xiaoxi').html('用户名错误');
                      }
                      if(data==2){
                         alert('密码错误');
                        //$('#xiaoxi').html('密码错误');
                      }
                      }
                    });     
              }); */
          });
       </script>
    </body>
</html>